package so.sao.code.service.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Entity;
import javax.persistence.EntityListeners;

/**
 * 由于日志存在按条件搜索，不同的类型日志分开存储
 */
@Entity
@Data
@AllArgsConstructor
@EntityListeners(AuditingEntityListener.class)
public class EnterpriseOperationLog extends BaseEntity {

    private Long eseId;
    private String eseName;
    private String operation;
    private Long count;
    private String ip;
    public EnterpriseOperationLog() {
    }


}
